/**
 * 
 */
package weibo4j.crawler.publictimelinecrawler;
/**
 * @author longrui
 *
 */
public class TestPublicTimeLineCrawler {
	public static void main(String[] args){
		try {
			if (args.length < 2) {
				System.out
						.println("You need to specify WeiboID/Password combination to crawler the data.");
				System.out
						.println("Usage: java weibo4j.crawler.TestPublicTimeLineCrawler ID Password");
				System.exit(0);
			}
			PublicTimeLineCrawler ptlc = new PublicTimeLineCrawler(args[0], args[1]);
			ptlc.run();			
		} catch (Exception e) {
			e.printStackTrace();
			System.exit(-1);
		}
	}
}
